home *** CD-ROM | disk | FTP | other *** search
- 'INPUTDMO.ASC -- MSDOS QuickBASIC GetKeyInput test 25 June 86
- ' by David L. Poskie (608) 274-9560
- ' 7118 Raymond Rd. Madison, WI 53719
- ' Please run any suggestions, corrections, additions, or changes by me.
- ' I can be messaged on all the major Madison, WI RBBS's.
-
- False = 0
- True = NOT False
-
- GOTO Start
- REM $INCLUDE: 'OMNI.SUB'
-
- Start:
- ' Set colors to your preference
- COLOR 14 , 3 , 8
- CLS
- IsExtended = False
- ' Tell the colors of the shaded input area
- FG = 14 ' = color of hatching
- BG = 3 ' = color of hatched area background
- MG = 7 ' = color of input background
- KeyMax = 12 ' # of characters to be input
- Text$ = "Input filename.ext: "
-
- ' Need only X; Y will be calculated in subroutine
- X = 10 ' Row #
- GOSUB GetKeyInput
- Temp$ = Text$
- GOSUB GetUpperCase
- PRINT : PRINT
- Text$ = "You input : " + Temp$
- GOSUB Center
- SYSTEM